import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'nengYuanSheZhi/-'

export default {
  path: '/nengYuanSheZhi',
  name: 'nengYuanSheZhi',
  redirect: {
    name: `${pre}nengYuanKeShiHua`
  },
  meta: { ...meta, title: '能源设置' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'nengYuanFenXiBaoGao',
      name: '21600',
      meta: {
        ...meta,
        title: '能源分析报告'
      }
      // component: () => import('@/pages/nengYuanSheZhi/nengYuanFenXiBaoGao')
    },
    {
      path: 'jiChuCanShuSheZhi',
      name: '21700',
      meta: {
        ...meta,
        title: '基础参数设定'
      }
      // component: () => import('@/pages/nengYuanSheZhi/jiChuCanShuSheZhi')
    },
    {
      path: 'baoJingShiJianRiZi',
      name: '21800',
      meta: {
        ...meta,
        title: '报警事件日志'
      }
      // component: () => import('@/pages/nengYuanSheZhi/baoJingShiJianRiZi')
    }
  ]
} as AppRouteRecord
